package cn.inface.cn.jiekou1;

public class Test {
    public static void main(String[] args) {
        UseCompute useCompute =new UseCompute();
        useCompute.useCom(new Add(),4,2);
        useCompute.useCom(new Sub(),8,9);
        useCompute.useCom(new Mul(),6,34);
        useCompute.useCom(new Div(), 15, 6);
    }
}
